import * as types from './mutation-types'

export default {
  [types.SET_SHOW_ANSWER] (state, isShow) {
    state.showAnswer = isShow
  },
  [types.SET_AUTO_ANSWER] (state, isAutoAnswer) {
    state.autoAnswer = isAutoAnswer
  },
  [types.SET_AUTO_SHOW_ANSWER] (state, showAutoAnswer) {
    state.showAutoAnswer = showAutoAnswer
  }
}
